package com.tyust.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.tyust.entity.Staff;

public interface StaffDao {
public boolean findByUidAndLoginpass(Map<String,String> map) throws SQLException;
	
	
	public void add(Staff staff) throws SQLException;
	
	public List<Staff> searchStaffInfo(Staff staff);
	
	int findStaffCount(Staff staff);
	
	Staff getStaffByNo(Staff staff);
	
	void updateStaffInfo(Staff staff);
	
	void deleteByNo(String staffNo);
}
